package com.buba.service;

import entity.sparemanage.Warehousing;
import com.baomidou.mybatisplus.extension.service.IService;
import entity.sparemanage.dto.insetWareHouseDto;
import entity.sparemanage.dto.warehouseDto;
import entity.sparemanage.vo.selOneCollectingVo;
import utils.PageResult;

/**
 * <p>
 * 入库记录表 服务类
 * </p>
 *
 * @author beisheng
 * @since 2023-05-18
 */
public interface WarehousingService extends IService<Warehousing> {

    /* *
     * @Author: beisheng
     * @Descriprion: 分页模糊查入库管理列表
     * @Date: 2023/5/25 8:42
     * @Return: common.R
     * @Param: [warehouseDto]
     */

    PageResult selAllWareHouse(warehouseDto warehouseDto);

    /* *
     * @Author: beisheng
     * @Descriprion: 新增入库记录
     * @Date: 2023/5/29 10:12
     * @Return: common.R
     * @Param: [insetWareHouseDto]
     */

    void insetWareHouse(insetWareHouseDto insetWareHouseDto);

    /* *
     * @Author: beisheng
     * @Descriprion: 根据入库申请ID查询详细信息
     * @Date: 2023/5/30 14:20
     * @Return: common.R
     * @Param: [spId]
     */

    selOneCollectingVo selOneCollecting(Integer spId);

    /* *
     * @Author: beisheng
     * @Descriprion: 修改入库单信息
     * @Date: 2023/5/30 19:15
     * @Return: common.R
     * @Param: [insetWareHouseDto]
     */

    void updateCollection(insetWareHouseDto insetWareHouseDto);
}
